home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
- #include <errno.h>
-
- #include <proto/dos.h>
-
- #include "Internal.h"
-
- /************************************************************************/
-
- void perror(const char *String)
-
- {
- BPTR OldOutput;
-
- OldOutput=SelectOutput(stderr->Filehandle);
- PrintFault(errno,(char *)String);
- SelectOutput(OldOutput);
- }
-